package com.zmwx.subject;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
/**
 * 刷题微服务启动类
 */
@SpringBootApplication
@ComponentScan("com.zmwx")//扫描配置类
@MapperScan("com.zmwx.subject.**.mapper")// 扫描Mapper接口
@EnableFeignClients("com.zmwx")
public class SubjectApplication {
    public static void main(String[] args) {
        SpringApplication.run(SubjectApplication.class, args);
        System.out.println("刷题服务启动成功");
    }
}
